function add(x: number, y: number): number {
  return x + y;
}

let num1 = add(1, 2);
console.log(num1);
